package com.kgc.rb.service;

import com.kgc.rb.pojo.QgGoods;
import com.kgc.rb.pojo.QgOrder;

import javax.servlet.http.HttpServletRequest;

public interface LocalTradeService {

    boolean validateAliPay(HttpServletRequest request, String methodType) throws Exception;

    QgOrder getOrderById(String orderId) throws Exception ;

    QgGoods getGoodsByGoodsId(String goodsId) throws Exception ;

    String dealPayStatus(String out_trade_no, String trade_no)throws Exception ;

    boolean validateDealPayStatus(String trade_no)throws Exception;
}
